package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @author chenweiliu chenwei.liu@163.com
 * @ClassName GetWinningResultListResp
 * @Description TODO
 * @date 2015-5-13   下午5:26:41
 */
@XmlRootElement
public class GetWinningResultListResp extends SuperResp {

    /**
     * @Fields serialVersionUID : TODO
     */
    private static final long serialVersionUID = -8314722167913818267L;
    private Integer recordSize;
    private List<WinningResultInfo> winningResultInfos;

    public Integer getRecordSize() {
        return recordSize;
    }

    public void setRecordSize(Integer recordSize) {
        this.recordSize = recordSize;
    }

    public List<WinningResultInfo> getWinningResultInfos() {
        return winningResultInfos;
    }

    public void setWinningResultInfos(List<WinningResultInfo> winningResultInfos) {
        this.winningResultInfos = winningResultInfos;
    }

    @Override
    public String toString() {
        return "GetWinningResultListResp [recordSize=" + recordSize
                + ", winningResultInfos=" + winningResultInfos
                + ", getResultCode()=" + getResultCode() + ", getResultDesc()="
                + getResultDesc() + "]";
    }

    public static class WinningResultInfo implements Serializable {
        /**
         * @Fields serialVersionUID : TODO
         */
        private static final long serialVersionUID = 1454444046414037384L;
        private String account;
        private String mobile;
        private String winningResultId;
        private String prizeCode;
        private String prizeName;
        private Integer prizeLevel;
        private String activityCode;
        private String activityName;
        private Long cpCode;
        private String cardNo;
        private String cardPwd;
        private String winningTime;
        private String prizePicture;

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getWinningResultId() {
            return winningResultId;
        }

        public void setWinningResultId(String winningResultId) {
            this.winningResultId = winningResultId;
        }

        public String getPrizeCode() {
            return prizeCode;
        }

        public void setPrizeCode(String prizeCode) {
            this.prizeCode = prizeCode;
        }

        public String getPrizeName() {
            return prizeName;
        }

        public void setPrizeName(String prizeName) {
            this.prizeName = prizeName;
        }

        public Integer getPrizeLevel() {
            return prizeLevel;
        }

        public void setPrizeLevel(Integer prizeLevel) {
            this.prizeLevel = prizeLevel;
        }

        public String getActivityCode() {
            return activityCode;
        }

        public void setActivityCode(String activityCode) {
            this.activityCode = activityCode;
        }

        public String getActivityName() {
            return activityName;
        }

        public void setActivityName(String activityName) {
            this.activityName = activityName;
        }

        public Long getCpCode() {
            return cpCode;
        }

        public void setCpCode(Long cpCode) {
            this.cpCode = cpCode;
        }

        public String getCardNo() {
            return cardNo;
        }

        public void setCardNo(String cardNo) {
            this.cardNo = cardNo;
        }

        public String getCardPwd() {
            return cardPwd;
        }

        public void setCardPwd(String cardPwd) {
            this.cardPwd = cardPwd;
        }

        public String getWinningTime() {
            return winningTime;
        }

        public void setWinningTime(String winningTime) {
            this.winningTime = winningTime;
        }

        public String getPrizePicture() {
            return prizePicture;
        }

        public void setPrizePicture(String prizePicture) {
            this.prizePicture = prizePicture;
        }

        @Override
        public String toString() {
            return "WinningResultInfo [account=" + account + ", mobile="
                    + mobile + ", prizeName=" + prizeName + "]";
        }
    }
}
